import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入vant
import '@/utils/vant.js'
// 导入样式
import '@/styles/base.css'
// 导入屏幕适配
import 'amfe-flexible'

import moment from 'moment'
moment.locale('zh-cn')
// 全局过滤器
Vue.filter('relvTime', (val) => {
  return moment(val).fromNow()
})

Vue.config.productionTip = false

new Vue({
  store,
  router,
  render: (h) => h(App)
}).$mount('#app')
